package com.mybatis;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * Created by
 *  异常的demo
 * @author touni
 * @date 2019/4/8
 * @time 11:50
 */
@SpringBootApplication
@MapperScan(basePackages = "com.mybatis.mapper")  //扫描mapper接口  此处使用通用mapper的这个注解
public class App {

    public static void main(String[] args) {
        SpringApplication.run(App.class,args);

    }

}
